package com.piaoniu.open.api.domain.order.dto;

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * Created by slj on 17/1/2.
 */
@Data
public class OrderDTO {

    private String orderId;

    private int pnOrderId;

    private int status;

    private BigDecimal totalAmount;

    private int ticketGroupId;

    private int count;

    private int deliverType;

    private String receiverName;

    private String phone;

    private String address;

    private OnSiteGetInfoDTO onSiteGetInfo;

    /**
     * 自取取票码, 仅在订单为现场自取且已支付时返回, 注意下单后取票码需要时间生成, 没返回该字段可用订单号:xxx替换取票码:xxx
     */
    private String pnPickupCode;

    /**
     * 自取二维码内容,仅在订单为现场自取且已支付时返回, 需要使用该字符串生成二维码, 商家可使用票牛商家版app扫码核销订单
     */
    private String pnPickupLink;

    private List<TicketReceiptDTO> ticketReceipts;

    private ExpressInfoDTO expressInfo;

    private String deliverTimeNotice;

    private List<OrderAdditionDTO> orderAdditions;
}
